<template>
  <div class="view">
    <x-header :left-options="{backText: ''}" class="vux-1px-b">支付成功</x-header>
      <div class="tutu">
        <i class="red_success"></i>
        <p class="succe">支付成功！</p>
      </div>
      <div class="main">
        <p class="title">支付金额:<span class="price">￥{{$route.params.price}}</span></p>
        <p class="orderNumber">付款方式：微信</p>
        <p class="orderNumber">收款方：赞佳乐</p>
        <router-link to="/home" class="button">确定</router-link>
      </div>
  </div>
</template>

<script>
import { XHeader } from 'vux'
export default {
  components: {
    XHeader
  }
}
</script>

<style lang="scss" scoped>
  @import "../../../assets/css/pub";
  .tutu{
    width:96%;
    margin: 2%;
    background: #fff;
    height: 3.7875rem;
    text-align: center;
    i{
      margin-top: 5%;
    }
    .succe{
      margin-top: 4.5%;
      font-size:.4rem;
      font-family:MicrosoftYaHei;
      font-weight:400;
      color:rgba(0,0,0,1);
    }
  }
  .main {
    width:96%;
    height: 1.25rem;
    margin: 2%;
    background: #fff;
    text-align: left;
    padding: 3%;
    p{
      margin-top: 1.3%;
      font-size:.3rem;
    }
    .title {
      color: #000;
      margin-left: 3%;
      font-family:MicrosoftYaHei;
      font-weight:400;
      color:rgba(0,0,0,1);
    }
    .price {
      color: $default_price_color;
      margin-left: 3%;
      font-family:MicrosoftYaHei;
      font-weight:400;
      color: #ff0036;
    }
    .orderNumber {
      margin-left: 3%;
      font-family:MicrosoftYaHei;
      font-weight:400;
      color:rgba(0,0,0,1);
    }
    .button {
      width: 75%;
      height: .875rem;
      background-color: #ff0036;
      color: #fff;
      font-size: .4rem;
      text-align: center;
      line-height: .85rem;
      border: 0;
      box-sizing: border-box;
      display: block;
      border-radius: .125rem;
      margin: 1rem auto 0;
    }
  }
</style>
